// 自动生成模板Capacity
package capacity

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// capacity表 结构体  Capacity
type Capacity struct {
	global.GVA_MODEL
	Name string `json:"name" form:"name" gorm:"column:name;comment:;size:30;"` //name字段
}

type Class struct {
	global.GVA_MODEL
	ClassName string `json:"className" form:"className" gorm:"column:class_name;comment:;size:30;"` //name字段
}

// TableName capacity表 Capacity自定义表名 capacity
func (Capacity) TableName() string {
	return "capacity"
}
